<?php


namespace Part25_ResponsibilityChainModel\Code2;


class Iraq extends Country
{
    public function declare($message)
    {
        $this->mediator->declare($message, $this);
    }

    public function getMessage($message)
    {
        echo "伊拉克获得对方信息：$message\n";
    }

}